package com.lingyl.gulimall.member.feign;

import com.lingyl.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * <p>Title: CouponFeignService</p>
 * <p>Description: 这是一个声明式的远程调用</p>
 * @author Alan.lingyl
 * @version 1.0.0
 * @date 2021-01-20 15:55
 * @copyright 2020-2021.year, Alan.lingyl, All right reserved.
 */
@FeignClient("gulimall-coupon")
public interface CouponFeignService {

    @RequestMapping("/coupon/coupon/member/list")
    public R memberCoupons();
}
